package wbhproject.model;

import java.sql.Timestamp;

/**
 * Model-class defines, what a Measure is
 * 
 * @author Thomas Aulich
 * 
 */
public class Measure {
	private long id;
	private MeasurePoint measurePoint;
	private double val;
	private Timestamp at;

	public Measure(long pId, MeasurePoint pMeasurePoint, double pVal, Timestamp pAt) {
		id = pId;
		measurePoint = pMeasurePoint;
		val = pVal;
		at = pAt;
	}

	public long getId() {
		return id;
	}

	public MeasurePoint getMeasurePoint() {
		return measurePoint;
	}

	public double getVal() {
		return val;
	}

	public Timestamp getAt() {
		return at;
	}
}
